import Vue from 'vue'
import Router from 'vue-router'
// import Main from '@/views/Main'
import Index from '@/views/Index'



import Result from '@/views/Result'
import Detail from '@/views/Detail'


import Order from '@/views/Order'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: Index     
    },

    {
      path: '/detail/:id',
      name: 'Detail',
      component: Detail
    },
   
    {
      path:'/order/:id',
      name:'Order',
      component:Order
    },
   
    {
      path: '/result',
      name: 'Result',
      component: Result
    },
  ]
})

